package com.woniu.model.mallSystem.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class OrderDto {
    @ExcelProperty("订单编号")
    @ColumnWidth(10)
    private String orderNumber;

    @ExcelProperty("用户账号")
    @ColumnWidth(20)
    private String userName;

    @ExcelProperty("订单商品名")
    @ColumnWidth(20)
    private String name;

    @ExcelProperty(value = "下单时间")
    @ColumnWidth(20)
    private Date createTime;

    @ExcelProperty(value = "更新时间")
    @ColumnWidth(20)
    private Date updateTime;

    @ExcelProperty("订单状态")
    @ColumnWidth(10)
    private String orderStatus;

    @ExcelProperty("支付方式")
    @ColumnWidth(10)
    private String payMethod;

    @ExcelProperty("订单金额")
    @ColumnWidth(15)
    private BigDecimal totalPrice;
}
